﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Create_memorial.Aspx.cs"
    Inherits="Users_Create_memorial" %>

<%@ Register Assembly="DotNetTextBox" Namespace="DotNetTextBox" TagPrefix="DNTB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <asp:PlaceHolder Visible="false" runat="server">

        <script src="../Script/jquery-1.3.2-vsdoc2.js" type="text/javascript"></script>

    </asp:PlaceHolder>
    <%=this.UI_Head(Base_CurrPath, "", "")%>
    <link rel="stylesheet" type="text/css" href="../Css/Users.css" />
    <link href="../Script/formValidator/style/validator.css" rel="stylesheet" type="text/css" />
    <script src="../Script/formValidator/formValidator.js" type="text/javascript"></script>

    <script src="../Script/formValidator/formValidatorRegex.js" type="text/javascript"></script>

    <script language="javascript" src="../Script/formValidator/DateTimeMask.js" type="text/javascript"></script>

    <script src="../Script/ConvertTime.js" type="text/javascript"></script>

    <script type="text/javascript">
        $(document).ready(function() {
            $.formValidator.initConfig({ alertmessage: false, formid: "memorial_Form", onerror: function(msg) { alert(msg) } });
            $("#Txt_Number").formValidator({ defaultvalue: '<%=DefaultValue%>', onshow: "如果需要自己输入,必须为您已购买的馆号,默认请不要输入", onfocus: "纪念馆馆号不能为空", oncorrect: "输入正确" }).inputValidator({ min: 8, max: 8, empty: { leftempty: false, rightempty: false, emptyerror: "两边不能有空符号" }, onerror: "纪念馆馆号长度只能为八位,请确认" })
          .ajaxValidator({
              type: "get",
              url: "../AjaxXml/Memorial_Number.aspx",
              pre_proc: function() {
                  var v = 'NewNumber=' + escape($('#Txt_Number').val()) + '&ram=' + Math.random();
                  return v;
              },
              //processdata:true,
              datatype: "html",
              success: function(data) {

                  if (data == 0) {
                      return true;
                  }
                  else if (data == -1) {
                      this.onerror = "该馆号您无权使用";
                      return false;
                  }
                  else if (data == 1) {
                      return true;
                  }
                  else if (data == -2) {
                      this.onerror = "该馆号已经使用";
                      return false;

                  }
                  else if (data == -3) {
                  this.onerror = "该馆号只能为数字!";
                   return false;

                  }
                  else {
                      this.onerror = "未知错误";
                      return false;
                  }
              },
              buttons: $("#Button1"),
              error: function() { alert("服务器没有返回数据，可能服务器忙，请重试"); },
              onerror: "该馆号已使用，请更换!",
              onwait: "正在对馆号进行合法性校验，请稍候..."
          }).defaultPassed();

            $("#Txt_Name").formValidator({ onshow: "请输入纪念馆名称", onfocus: "纪念馆名称不能为空", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 30, empty: { leftempty: false, rightempty: false, emptyerror: "两边不能有空符号" }, onerror: "纪念馆名称长度必须在1-30位,请确认" });
            $("#Txt_UserNa").formValidator({ tipid: "UserNameCheckTip", onshow: "请输入逝者姓氏", onfocus: "逝者姓氏不能为空", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 10, empty: { leftempty: false, rightempty: false, emptyerror: "逝者姓氏两边不能有空符号" }, onerror: "逝者姓氏长度必须在1-10位,请确认" });
            $("#Txt_UserName").formValidator({ tipid: "UserNameCheckTip", onshow: "请输入逝者名", onfocus: "逝者名不能为空", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 15, empty: { leftempty: false, rightempty: false, emptyerror: "逝者名两边不能有空符号" }, onerror: "逝者名长度必须在1-15位,请确认" });
            $("#Txt_otherName").formValidator({ onshow: "请输入逝者别名", onfocus: "逝者别名不能为空", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 30, empty: { leftempty: false, rightempty: false, emptyerror: "逝者别名两边不能有空符号" }, onerror: "逝者别名长度必须在1-30位,请确认" });
            $("#Txt_Race").formValidator({ empty: true, onshow: "逝者民族,可选项", onfocus: "逝者民族,可选项", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 20, empty: { leftempty: false, rightempty: false, emptyerror: "逝者民族两边不能有空符号" }, onerror: "逝者民族长度必须在1-20位,请确认" });
            $("#Txt_Occu").formValidator({ empty: true, onshow: "逝者职业,可选项", onfocus: "逝者职业,可选项", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 20, empty: { leftempty: false, rightempty: false, emptyerror: "逝者职业两边不能有空符号" }, onerror: "逝者籍贯长度必须在1-20位,请确认" });
            $("#Txt_place").formValidator({ empty: true, onshow: "逝者籍贯,可选项", onfocus: "逝者籍贯,可选项", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 20, empty: { leftempty: false, rightempty: false, emptyerror: "逝者籍贯两边不能有空符号" }, onerror: "逝者籍贯长度必须在1-20位,请确认" });
            $("#Txt_Belief").formValidator({ empty: true, onshow: "逝者信仰,可选项", onfocus: "逝者信仰,可选项", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 20, empty: { leftempty: false, rightempty: false, emptyerror: "逝者籍贯两边不能有空符号" }, onerror: "逝者籍贯长度必须在1-20位,请确认" });
            $("#Txt_birthyear").formValidator({ onshow: "出生日期不能为空", onfocus: "请输入出生日期", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 30, empty: { leftempty: false, rightempty: false, emptyerror: "两边不能有空符号" }, onerror: "出生时间不能为空,请确认" });
            $("#Txt_DeathTime").formValidator({ onshow: "去世时间不能为空", onfocus: "请输入去世时间", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 30, empty: { leftempty: false, rightempty: false, emptyerror: "两边不能有空符号" }, onerror: "去世时间不能为空,请确认" });


            $("#Txt_Pwdchange").formValidator({ onshow: "纪念馆的密码不能为空", onfocus: "请输入您纪念馆的密码", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 12, empty: { leftempty: false, rightempty: false, emptyerror: "两边不能有空符号" }, onerror: "纪念馆的密码长度只能为1-12位,请确认" });

            $("#Txt_Pwdchange").attr("readonly", 'readonly').unFormValidator(true);

            $(":radio[name='IsPwd']").click(function() {
                var SelectValue = $("input[name='IsPwd']:checked").val();
                $("#Txt_Pwdchange")[0].value = "";
                if (parseInt(SelectValue) == 1) {
                    $("#Txt_Pwdchange").removeAttr("readonly").unFormValidator(false); //
                    $("#pwdstyle").css({ 'display': 'block' });
                }
                else {
                    $("#Txt_Pwdchange").attr("readonly", 'readonly').unFormValidator(true);
                    $("#pwdstyle").css({ 'display': 'none' });

                }
            });
            //动画速度
            var speed = 500;

            $(":checkbox[name='picThumb']").click(function(event) {

                //取消事件冒泡
                event.stopPropagation();
                //设置弹出层位置
                var offset = $(event.target).offset();
                $("#divPop").css({ top: offset.top - $("#divPop").height() + $(event.target).height() + "px", left: offset.left + 50 + $(event.target).height() });
                //切换弹出层的显示状态
                $("#divPop").toggle(speed);
                if ($("#Txt_UpImg")[0].value != "") {
                    $("#ThumbImg").attr("src", "../" + $("#Txt_UpImg").val());
                }
                else {
                    $("#ThumbImg").attr("src", "../images/nopic.jpg");

                }
            });


            $(":checkbox[name='picTwo_check']").click(function(event) {

                //取消事件冒泡
                event.stopPropagation();
                //设置弹出层位置
                var offset = $(event.target).offset();
                $("#divPopTwo").css({ top: offset.top - $("#divPopTwo").height() + $(event.target).height() + "px", left: offset.left + 50 + $(event.target).height() });
                //切换弹出层的显示状态
                $("#divPopTwo").toggle(speed);
                if ($("#Txt_UppicTwo")[0].value != "") {
                    $("#ThumbImgTwo").attr("src", "../" + $("#Txt_UppicTwo").val());
                }
                else {
                    $("#ThumbImgTwo").attr("src", "../images/nopic.jpg");

                }
            });

            if (parseInt("<%=T %>") == 2) {  //双人
                $("#Txt_SnameTwo").formValidator({ tipid: "Txt_unameTwoTip", onshow: "请输入逝者二的姓氏", onfocus: "逝者二的姓氏不能为空", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 10, empty: { leftempty: false, rightempty: false, emptyerror: "逝者二的姓氏两边不能有空符号" }, onerror: "逝者二的姓氏长度必须在1-10位,请确认" });
                $("#Txt_unameTwo").formValidator({ tipid: "Txt_unameTwoTip", onshow: "请输入逝者二的名", onfocus: "逝者二的名不能为空", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 15, empty: { leftempty: false, rightempty: false, emptyerror: "逝者二的名两边不能有空符号" }, onerror: "逝者二的名长度必须在1-15位,请确认" });
                $("#Txt_OtherNameTwo").formValidator({ onshow: "请输入逝者二的别名", onfocus: "逝者二的别名不能为空", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 30, empty: { leftempty: false, rightempty: false, emptyerror: "逝者二的别名两边不能有空符号" }, onerror: "逝者二的别名长度必须在1-30位,请确认" });

                $("#Txt_RaceTwo").formValidator({ empty: true, onshow: "逝者民族,可选项", onfocus: "逝者民族,可选项", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 20, empty: { leftempty: false, rightempty: false, emptyerror: "逝者民族两边不能有空符号" }, onerror: "逝者民族长度必须在1-20位,请确认" });
                $("#Txt_OccuTwo").formValidator({ empty: true, onshow: "逝者职业,可选项", onfocus: "逝者职业,可选项", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 20, empty: { leftempty: false, rightempty: false, emptyerror: "逝者职业两边不能有空符号" }, onerror: "逝者籍贯长度必须在1-20位,请确认" });
                $("#Txt_placeTwo").formValidator({ empty: true, onshow: "逝者籍贯,可选项", onfocus: "逝者籍贯,可选项", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 20, empty: { leftempty: false, rightempty: false, emptyerror: "逝者籍贯两边不能有空符号" }, onerror: "逝者籍贯长度必须在1-20位,请确认" });
                $("#Txt_BeliefTwo").formValidator({ empty: true, onshow: "逝者信仰,可选项", onfocus: "逝者信仰,可选项", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 20, empty: { leftempty: false, rightempty: false, emptyerror: "逝者籍贯两边不能有空符号" }, onerror: "逝者籍贯长度必须在1-20位,请确认" });
                $("#Txt_birthTwo").formValidator({ onshow: "出生日期不能为空", onfocus: "请输入出生日期", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 30, empty: { leftempty: false, rightempty: false, emptyerror: "两边不能有空符号" }, onerror: "出生时间不能为空,请确认" });
                $("#Txt_DeathTimeTwo").formValidator({ onshow: "去世时间不能为空", onfocus: "请输入去世时间", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 30, empty: { leftempty: false, rightempty: false, emptyerror: "两边不能有空符号" }, onerror: "去世时间不能为空,请确认" });






            };
        });
      
    </script>

    <script src="../Script/province.aspx"></script>

    <script src="../Script/popup.js"></script>

</head>
<body>
    <%=this.UI_TopControl()%>
    <div class="topbanner bodyList">
        <div class="body_995">
            <div class="Member_left">
                <%=this.UI_Users_loginOK()%>
                <%=this.UI_UsersDhtList() %>
            </div>
            <div class="Member_Right">
                <form runat="server" id="memorial_Form">
                <div class="Member_right_dht">
                    <img src="../Images/class_hy.jpg" /></div>
                <div class="Member_right_CntLIst">
                    <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
                        <tr>
                            <td height="25" align="center" bgcolor="#E3DEBE" class="title">
                                <strong>创建纪念馆</strong>
                            </td>
                        </tr>
                        <tr align="center" class="tdbg">
                            <td>
                                <asp:Panel ID="Panel1" runat="server" Visible="true">
                                    <table width="100%" border="1" cellspacing="0" cellpadding="0" bordercolordark="#FFFFFF">
                                        <tr>
                                            <td width="22%" align="center">
                                                <strong>纪念馆类型</strong>
                                            </td>
                                            <td width="16%" align="center">
                                                <strong>需要点数</strong>
                                            </td>
                                            <td width="47%" align="center">
                                                <strong>纪念馆说明</strong>
                                            </td>
                                            <td width="15%">
                                                &nbsp;
                                            </td>
                                        </tr>
                                        <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound"
                                            OnItemCommand="Repeater1_ItemCommand">
                                            <ItemTemplate>
                                                <tr style="padding: 2px;">
                                                    <td align="left">
                                                        &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ☆<%#Eval("TypeName") %>
                                                    </td>
                                                    <td align="center">
                                                        <%#Eval("TypePoint") %>
                                                    </td>
                                                    <td align="center">
                                                        <%#Eval("Readme") %>
                                                    </td>
                                                    <td align="center">
                                                        <asp:Button ID="btnCreate" runat="server" Text="我要创建" CssClass="go-wenbenkuang" />
                                                    </td>
                                                </tr>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                        <tr>
                                            <td colspan="4" align="center" style="padding: 4px; color: #0099FF;">
                                                基础试用馆无需交费，会员注册可免费使用30天，会员缴纳相应级别馆费，可升级到其他类型纪念馆！
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                                <asp:Panel ID="Panel2" runat="server" Visible="false">
                                    <table width="100%" border="1" cellspacing="0" cellpadding="0" bordercolordark="#FFFFFF">
                                        <tr>
                                            <td width="18%" align="center" style="padding: 4px;">
                                                <strong>纪念馆类型: </strong>
                                            </td>
                                            <td width="82%" align="left" style="padding: 4px;">
                                                <asp:HiddenField ID="Typeid" runat="server" />
                                                <asp:Label ID="lb_Type" runat="server"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="18%" align="center" style="padding: 4px;">
                                                <strong>纪念馆馆号: </strong>
                                            </td>
                                            <td width="82%" align="left" style="padding: 4px;" class="tdIndiv">
                                                <div>
                                                    <asp:TextBox ID="Txt_Number" runat="server"></asp:TextBox></div>
                                                <div id="Txt_NumberTip">
                                                    *如果你已经向管理员申请过馆号，可自己填写&nbsp;&nbsp;</div>
                                                <a href="User_Applic.Aspx" style="text-decoration: underline;" target="_blank">申请馆号</a>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="18%" align="center" style="padding: 4px;">
                                                <strong>纪念馆名称: </strong>
                                            </td>
                                            <td width="82%" align="left" style="padding: 4px;" class="tdIndiv">
                                                <div>
                                                    <asp:TextBox ID="Txt_Name" runat="server" MaxLength="30" Width="275px"></asp:TextBox></div>
                                                <div id="Txt_NameTip">
                                                    *建议使用中文，限30个字以内</div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="2" align="left" bgcolor="#EfEFEF" style="padding: 4px;">
                                                <strong style="color: #DC350C;">被祭者一信息注册：</strong>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="18%" align="center" style="padding: 4px;">
                                                <strong>逝者: </strong>
                                            </td>
                                            <td width="82%" align="left" style="padding: 4px;" class="tdIndiv">
                                                <div>
                                                    姓:<asp:TextBox ID="Txt_UserNa" runat="server" MaxLength="10" Width="66px"></asp:TextBox><br />
                                                    名:<asp:TextBox ID="Txt_UserName" runat="server" MaxLength="15" Width="143px"></asp:TextBox>
                                                </div>
                                                <div id="UserNameCheckTip" class="red_FF Black_A">
                                                    *</div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="18%" align="center" style="padding: 4px;">
                                                <strong>逝者别名: </strong>
                                            </td>
                                            <td width="82%" align="left" style="padding: 4px;" class="tdIndiv">
                                                <div>
                                                    <asp:TextBox ID="Txt_otherName" MaxLength="30" runat="server" Width="162px"></asp:TextBox></div>
                                                <div id="Txt_otherNameTip">
                                                    *</div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="18%" align="center" style="padding: 4px;">
                                                <strong>性别: </strong>
                                            </td>
                                            <td width="82%" align="left" style="padding: 4px;">
                                                <asp:RadioButtonList ID="Radio_Sex" runat="server">
                                                </asp:RadioButtonList>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="center" style="padding: 4px;" width="18%">
                                                <strong>逝者照片: </strong>
                                            </td>
                                            <td align="left" style="padding: 4px;" width="82%">
                                                <asp:TextBox ID="Txt_UpImg" runat="server" Width="265px" Text="images/nopic.jpg"></asp:TextBox>&nbsp;<input
                                                    type="button" class="go-wenbenkuang" value="上传图片" onclick="javascript:wy_addPhotoCat('../App/Uppictrue.Aspx?inputobj=Txt_UpImg','逝者照片上传',500,200)" />&nbsp;<input
                                                        type="checkbox" id="picThumb" name="picThumb" />预览照片
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="18%" align="center" style="padding: 4px;">
                                                <strong>民族: </strong>
                                            </td>
                                            <td width="82%" align="left" style="padding: 4px;" class="tdIndiv">
                                                <div>
                                                    <asp:TextBox ID="Txt_Race" runat="server"></asp:TextBox></div>
                                                <div id="Txt_RaceTip" class="red_FF Black_A">
                                                    *</div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="18%" align="center" style="padding: 4px;">
                                                <strong>籍贯: </strong>
                                            </td>
                                            <td width="82%" align="left" style="padding: 4px;" class="tdIndiv">
                                                <div>
                                                    <asp:TextBox ID="Txt_place" MaxLength="10" runat="server"></asp:TextBox></div>
                                                <div id="Txt_placeTip" class="red_FF Black_A">
                                                    *限10个字以内</div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="18%" align="center" style="padding: 4px;">
                                                <strong>职业: </strong>
                                            </td>
                                            <td width="82%" align="left" style="padding: 4px;" class="tdIndiv">
                                                <div>
                                                    <asp:TextBox ID="Txt_Occu" runat="server"></asp:TextBox></div>
                                                <div id="Txt_OccuTip">
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="18%" align="center" style="padding: 4px;">
                                                <strong>信仰: </strong>
                                            </td>
                                            <td width="82%" align="left" style="padding: 4px;" class="tdIndiv">
                                                <div>
                                                    <asp:TextBox ID="Txt_Belief" runat="server"></asp:TextBox></div>
                                                <div id="Txt_BeliefTip">
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="18%" align="center" style="padding: 4px;">
                                                <strong>出生年月:</strong>
                                            </td>
                                            <td width="82%" align="left" style="padding: 4px;" class="tdIndiv">
                                                <div>
                                                    <asp:TextBox ID="Txt_birthyear" runat="server"></asp:TextBox><asp:DropDownList ID="DD_TimeType"
                                                        runat="server">
                                                    </asp:DropDownList>
                                                </div>
                                                <div id="Txt_birthyearTip">
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="18%" align="center" style="padding: 4px;">
                                                <strong>过世年月: </strong>
                                            </td>
                                            <td width="82%" align="left" style="padding: 4px;" class="tdIndiv">
                                                <div>
                                                    <asp:TextBox ID="Txt_DeathTime" runat="server"></asp:TextBox><asp:DropDownList ID="DD_DeathType"
                                                        runat="server">
                                                    </asp:DropDownList>
                                                </div>
                                                <div id="Txt_DeathTimeTip">
                                                </div>
                                            </td>
                                        </tr>
                                        <asp:Panel ID="TwoPanel" runat="server">
                                            <tr>
                                                <td colspan="2" align="left" bgcolor="#EfEFEF" style="padding: 4px;">
                                                    <strong style="color: #DC350C;">被祭者二信息注册：</strong>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="18%" align="center" style="padding: 4px;">
                                                    <strong>逝者: </strong>
                                                </td>
                                                <td width="82%" align="left" style="padding: 4px;" class="tdIndiv">
                                                    <div>
                                                        姓:<asp:TextBox ID="Txt_SnameTwo" runat="server" MaxLength="10" Width="66px"></asp:TextBox><br />
                                                        名:<asp:TextBox ID="Txt_unameTwo" runat="server" MaxLength="15" Width="143px"></asp:TextBox>
                                                    </div>
                                                    <div id="Txt_unameTwoTip" class="red_FF Black_A">
                                                        *</div>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="18%" align="center" style="padding: 4px;">
                                                    <strong>逝者别名: </strong>
                                                </td>
                                                <td width="82%" align="left" style="padding: 4px;" class="tdIndiv">
                                                    <div>
                                                        <asp:TextBox ID="Txt_OtherNameTwo" MaxLength="30" runat="server" Width="162px"></asp:TextBox></div>
                                                    <div id="Txt_OtherNameTwoTip">
                                                        *</div>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="18%" align="center" style="padding: 4px;">
                                                    <strong>性别: </strong>
                                                </td>
                                                <td width="82%" align="left" style="padding: 4px;">
                                                    <asp:RadioButtonList ID="Txt_SexTwo" runat="server">
                                                    </asp:RadioButtonList>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="center" style="padding: 4px;" width="18%">
                                                    <strong>逝者照片: </strong>
                                                </td>
                                                <td align="left" style="padding: 4px;" width="82%">
                                                    <asp:TextBox ID="Txt_UppicTwo" runat="server" Width="265px" Text="images/nopic.jpg"></asp:TextBox>&nbsp;<input
                                                        type="button" class="go-wenbenkuang" value="上传图片" onclick="javascript:wy_addPhotoCat('../App/Uppictrue.Aspx?inputobj=Txt_UppicTwo','逝者照片上传',500,200)" />&nbsp;<input
                                                            type="checkbox" id="picTwo_check" name="picTwo_check" />预览照片
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="18%" align="center" style="padding: 4px;">
                                                    <strong>民族: </strong>
                                                </td>
                                                <td width="82%" align="left" style="padding: 4px;" class="tdIndiv">
                                                    <div>
                                                        <asp:TextBox ID="Txt_RaceTwo" runat="server"></asp:TextBox></div>
                                                    <div id="Txt_RaceTwoTip" class="red_FF Black_A">
                                                        *</div>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="18%" align="center" style="padding: 4px;">
                                                    <strong>籍贯: </strong>
                                                </td>
                                                <td width="82%" align="left" style="padding: 4px;" class="tdIndiv">
                                                    <div>
                                                        <asp:TextBox ID="Txt_placeTwo" MaxLength="10" runat="server"></asp:TextBox></div>
                                                    <div id="Txt_placeTwoTip" class="red_FF Black_A">
                                                        *限10个字以内</div>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="18%" align="center" style="padding: 4px;">
                                                    <strong>职业: </strong>
                                                </td>
                                                <td width="82%" align="left" style="padding: 4px;" class="tdIndiv">
                                                    <div>
                                                        <asp:TextBox ID="Txt_OccuTwo" runat="server"></asp:TextBox></div>
                                                    <div id="Txt_OccuTwoTip">
                                                    </div>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="18%" align="center" style="padding: 4px;">
                                                    <strong>信仰: </strong>
                                                </td>
                                                <td width="82%" align="left" style="padding: 4px;" class="tdIndiv">
                                                    <div>
                                                        <asp:TextBox ID="Txt_BeliefTwo" runat="server"></asp:TextBox></div>
                                                    <div id="Txt_BeliefTwoTip">
                                                    </div>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="18%" align="center" style="padding: 4px;">
                                                    <strong>出生年月:</strong>
                                                </td>
                                                <td width="82%" align="left" style="padding: 4px;" class="tdIndiv">
                                                    <div>
                                                        <asp:TextBox ID="Txt_birthTwo" runat="server"></asp:TextBox>
                                                        <asp:DropDownList ID="Txt_birChangeTwo" runat="server">
                                                        </asp:DropDownList>
                                                    </div>
                                                    <div id="Txt_birthTwoTip">
                                                    </div>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="18%" align="center" style="padding: 4px;">
                                                    <strong>过世年月: </strong>
                                                </td>
                                                <td width="82%" align="left" style="padding: 4px;" class="tdIndiv">
                                                    <div>
                                                        <asp:TextBox ID="Txt_DeathTimeTwo" runat="server"></asp:TextBox><asp:DropDownList
                                                            ID="DD_DeathTimeTwo" runat="server">
                                                        </asp:DropDownList>
                                                    </div>
                                                    <div id="Txt_DeathTimeTwoTip">
                                                    </div>
                                                </td>
                                            </tr>
                                        </asp:Panel>
                                        <tr>
                                            <td width="18%" align="center" style="padding: 4px;">
                                                <strong>是否加密: </strong>
                                            </td>
                                            <td width="82%" align="left" style="padding: 4px;" class="tdIndiv">
                                                <div>
                                                    <asp:RadioButtonList name="IsPwd" ID="IsPwd" runat="server" RepeatColumns="5">
                                                        <asp:ListItem Value="1">是</asp:ListItem>
                                                        <asp:ListItem Selected="True" Value="0">否</asp:ListItem>
                                                    </asp:RadioButtonList>
                                                </div>
                                                <div id="pwdstyle" style="display: none;">
                                                    <asp:TextBox TextMode="Password" ID="Txt_Pwdchange" runat="server"></asp:TextBox>
                                                </div>
                                                <div id="Txt_PwdchangeTip">
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="18%" align="center" style="padding: 4px;">
                                                <strong>纪念馆所属分站: </strong>
                                            </td>
                                            <td width="82%" align="left" style="padding: 4px;">
                                                <select id="province" name="provice" onchange="changeProvince(document.getElementById('province'),document.getElementById('city'));">
                                                </select>
                                                <select id="city" name="city">
                                                </select>

                                                <script language="javascript" type="text/javascript">
                                                    initialize(document.getElementById('province'), document.getElementById('city'), "23", "195");
                                                </script>

                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="18%" align="center" style="padding: 4px;">
                                                <strong>生平简介: </strong>
                                            </td>
                                            <td width="82%" align="left" style="padding: 4px;">
                                                <DNTB:WebEditor ID="WebEditor1" runat="server" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="18%" align="center" style="padding: 4px;">
                                                <strong>模板选择: </strong>
                                            </td>
                                            <td width="82%" align="left" style="padding: 4px;">
                                                &nbsp;<%=TemplateList() %>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="center" style="padding: 4px;" width="18%">
                                                &nbsp;
                                            </td>
                                            <td align="left" style="padding: 4px;" width="82%">
                                                <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="立即创建" />
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                            </td>
                        </tr>
                    </table>
                </div>
                </form>
            </div>
        </div>
        <br />
    </div>
    <!-- 弹出层 -->
    <div id="divPop" style="position: absolute; display: none; width: 107px; height: 145px;">
        <div style="text-align: center;">
            <img src="../images/nopic.jpg" id="ThumbImg" onload="javascript:DrawImage(this,107,145);" />
        </div>
    </div>
    <!-- 弹出层 -->
    <div id="divPopTwo" style="position: absolute; display: none; width: 107px; height: 145px;">
        <div style="text-align: center;">
            <img src="../images/nopic.jpg" id="ThumbImgTwo" onload="javascript:DrawImage(this,107,145);" />
        </div>
    </div>
    <%=UI_boot() %>
</body>
</html>
